package com.zzxy.spring12.service.impl;

import com.zzxy.spring12.service.IUserService;

public class UserServiceImpl implements IUserService {
    private String name;

    public UserServiceImpl() {
        System.out.println("init userService...");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void addUser() {
        System.out.println("add User success..."+name);
    }
}
